package com.pingan.haofang.searchcloud.web.index.vo.test;

import com.pingan.haofang.searchcloud.web.index.vo.FullRpcIndexDataSourceVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 测试增量回调请求
 *
 * @author zhangbi617
 * @date 14/05/2017
 */
@ApiModel(description = "测试增量回调请求")
public class IncRpcTestRequest {

    @ApiModelProperty(value = "全量数据源设置")
    private FullRpcIndexDataSourceVO incDatasourceRpc;

    @ApiModelProperty(value="数据最大版本号")
    private Long versionFrom;

    @ApiModelProperty(value="页码")
    private Integer pageNo;

    public FullRpcIndexDataSourceVO getIncDatasourceRpc() {
        return incDatasourceRpc;
    }


    public Long getVersionFrom() {
        return versionFrom;
    }

    public void setVersionFrom(Long versionFrom) {
        this.versionFrom = versionFrom;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public void setIncDatasourceRpc(FullRpcIndexDataSourceVO incDatasourceRpc) {
        this.incDatasourceRpc = incDatasourceRpc;
    }

    @Override
    public String toString() {
        return "IncRpcTestRequest{" +
                "incDatasourceRpc=" + incDatasourceRpc +
                ", versionFrom=" + versionFrom +
                ", pageNo=" + pageNo +
                '}';
    }
}
